- if current_user && @group.ldap_synced?
  .bs-callout.bs-callout-info
    The members of this group are managed using LDAP and cannot be added or removed here.
    Because LDAP permissions in GitLab get updated one user at a time and because GitLab caches LDAP check results, changes on your LDAP server or in this group's LDAP sync settings may take up to #{Gitlab.config.ldap['sync_time']}s to show in the list below.
    %ul
      - @group.ldap_group_links.select(&:active?).each do |ldap_group_link|
        %li
          People in
          %code= ldap_group_link.cn ? "cn: #{ldap_group_link.cn}" : "filter: #{truncate(ldap_group_link.filter, length: 70)}"
          are given
          %code= ldap_group_link.human_access
          access.
    - if can?(current_user, :admin_group, @group)
      = render 'sync_button'
